//
//  ObjectClassName.swift
//  eat_known
//
//  Created by 心情 on 2018/8/3.
//  Copyright © 2018年 心情. All rights reserved.
//

import Foundation
import UIKit

extension NSObject {
    static func className() -> String! {
        return String(describing: self)
    }
}

extension UIFont {
    open class var boldFont: UIFont {
        get {
            return UIFont.boldSystemFont(ofSize: UIFont.systemFontSize)
        }
    }
    
    open class var normalFont: UIFont {
        get {
            return UIFont.systemFont(ofSize: UIFont.systemFontSize)
        }
    }

    open class var smallFont: UIFont {
        get {
            return UIFont.systemFont(ofSize: UIFont.smallSystemFontSize)
        }
    }
}
